<template>
  <div class="demo">
    <div class="demo-title">填底的按钮样式</div>
    <div class="demo-content">
      <div>
        <Radio.Group v-model:value="value1" button-style="solid">
          <Radio.Button value="a">Hangzhou</Radio.Button>
          <Radio.Button value="b">Shanghai</Radio.Button>
          <Radio.Button value="c">Beijing</Radio.Button>
          <Radio.Button value="d">Chengdu</Radio.Button>
        </Radio.Group>
      </div>
      <div :style="{ marginTop: '16px' }">
        <Radio.Group v-model:value="value2" button-style="solid">
          <Radio.Button value="a">Hangzhou</Radio.Button>
          <Radio.Button value="b" disabled>Shanghai</Radio.Button>
          <Radio.Button value="c">Beijing</Radio.Button>
          <Radio.Button value="d">Chengdu</Radio.Button>
        </Radio.Group>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Radio from '@sscd/radio';
  const value1 = ref<string>('a');
  const value2 = ref<string>('c');
</script>
